package com.handpay.zztong.hp.withdraw.bean;

import android.os.Parcel;

import com.handpay.zztong.hp.bean.ResponseBean;

/**
 * @author sxshi on 2017/5/2.
 *         email:emotiona_xiaoshi@126.com
 *         describe:Describe the function  of the current class
 */

public class LowestWithDrawBean extends ResponseBean{
    private double minAmount;
    private double maxAmount;
    private String tradeDesc;
    private String withdrawDesc;

    public double getMinAmount() {
        return minAmount;
    }

    public void setMinAmount(double minAmount) {
        this.minAmount = minAmount;
    }

    public double getMaxAmount() {
        return maxAmount;
    }

    public void setMaxAmount(double maxAmount) {
        this.maxAmount = maxAmount;
    }

    public String getTradeDesc() {
        return tradeDesc;
    }

    public void setTradeDesc(String tradeDesc) {
        this.tradeDesc = tradeDesc;
    }

    public String getWithdrawDesc() {
        return withdrawDesc;
    }

    public void setWithdrawDesc(String withdrawDesc) {
        this.withdrawDesc = withdrawDesc;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        super.writeToParcel(dest, flags);
        dest.writeDouble(this.minAmount);
        dest.writeDouble(this.maxAmount);
        dest.writeString(this.tradeDesc);
        dest.writeString(this.withdrawDesc);
    }

    public LowestWithDrawBean() {
    }

    protected LowestWithDrawBean(Parcel in) {
        super(in);
        this.minAmount = in.readDouble();
        this.maxAmount = in.readDouble();
        this.tradeDesc = in.readString();
        this.withdrawDesc = in.readString();
    }

    public static final Creator<LowestWithDrawBean> CREATOR = new Creator<LowestWithDrawBean>() {
        @Override
        public LowestWithDrawBean createFromParcel(Parcel source) {
            return new LowestWithDrawBean(source);
        }

        @Override
        public LowestWithDrawBean[] newArray(int size) {
            return new LowestWithDrawBean[size];
        }
    };

    @Override
    public String toString() {
        return "LowestWithDrawBean{" + "minAmount=" + minAmount + ", maxAmount=" + maxAmount + ", tradeDesc='" + tradeDesc + '\'' + ", withdrawDesc='" + withdrawDesc + '\'' + '}';
    }
}
